The Form Elements

HTML form elements, in comparison to other HTML elements that are used for displaying and presenting a Web page, help in creating interactive Web applications. With the use of form elements, you can create a client-server communication, which actually add interactivity to the website. The purpose of adding form elements on a Web page is to perform online transactions, such as purchasing an item.

The HTML 5 specification has drafted a new structure of HTML form elements. This structure includes the introduction of new form elements as well as the modification of existing form elements.

Given below list all the new form elements of HTML 5:

Element

Description

<datailist>

Helps in creating a list of options to input the data from a user

<keygen>

Helps in generating a key for authenticating the users

<output>

Helps in representing the type of output, such as resulting calculation by a script

You will learn more about this form further in the Tutorial